package cn.com.haopy.yue.ai.db.entity.arisk;

import cn.com.haopy.yue.ai.db.entity.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.apache.ibatis.type.JdbcType;

/**
 * @Description: TODO
 * @Author DuTao
 * @Date 2025/3/26 9:05
 */
@Data
@TableName(value = "arisk_topic", autoResultMap = true)
@ApiModel(value = "AI题目表")
public class AIRiskTopic extends BaseEntity {
    @TableField(value = "topic", jdbcType = JdbcType.VARCHAR)
    @ApiModelProperty(value = "题目名称")
    private String topic;

    @TableField(value = "is_multi_choice", jdbcType = JdbcType.BIT)
    @ApiModelProperty(value = "是否多选 0-单选 1-多选")
    private Boolean isMultiChoice;

    @ApiModelProperty(value = "参考值")
    @TableField(value = "normal_val", jdbcType = JdbcType.VARCHAR)
    private String normalVal;

    @TableField(value = "sex", jdbcType = JdbcType.SMALLINT)
    @ApiModelProperty(value = "适用性别，0:不限，1:男，2:女")
    private Short sex;

    @TableField(value = "is_active", jdbcType = JdbcType.BIT)
    @ApiModelProperty(value = "状态标志 1：有效 0：无效")
    private Boolean isActive;

    @ApiModelProperty(value = "提示")
    @TableField(value = "mark", jdbcType = JdbcType.VARCHAR)
    private String mark;

}
